package com.zhou.bpm.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Author: zhoujinchuan
 * @Description: TODO（请添加描述）
 * @CreateTime: 2023/10/26 10:34
 */
@Data
public class HistoryApproverVo {

    @ApiModelProperty("审批人账号")
    private String approvedCode;

    @ApiModelProperty("审批人姓名")
    private String approvedName;

    @ApiModelProperty("任务状态：1-待处理,2-已通过,3-打回取消，4已作废(特殊手段)")
    @TableField(value = "status")
    private String status;

    @ApiModelProperty("审批意见")
    @TableField(value = "opinion")
    private String opinion;

    @ApiModelProperty("待办处理时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

}
